package com.bite.system.elasticsearch;


import com.bite.system.domain.question.es.QuestionES;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;


//相当于es中的mapper
@Repository
public interface QuestionRepository extends ElasticsearchRepository<QuestionES, Long> {

    //方法命名有规则
}
